if command -q zoxide
  zoxide init fish | source
else
  echo "zoxide not in path, not initializing"
end

if command --query pyenv
  source (pyenv init - | psub)
else
  echo "pyenv not in path, not initializing"
end

if status is-interactive
  # Commands to run in interactive sessions can go here

  # Source the theme
  set --local fish_current_theme ~/my-configs/fish/theme/current
  if test -e $fish_current_theme
    source $fish_current_theme
  else
    echo "Warning: $fish_current_theme doesn't exist, not sourcing."
  end
end
